package com.gitee.fantaros.web.fan.netcut.threading;

import java.util.concurrent.atomic.AtomicReference;

public class Presentable<T> extends AtomicReference<T> {

    public Presentable() {
        super();
    }

    public Presentable(T initValue) {
        super(initValue);
    }

    public boolean isEmpty() {
        return get() == null;
    }

    public boolean isPresent() {
        return get() != null;
    }

}
